import requests

from com.yuhua.likeshop.utils.utils import like_host


class User():
    def login(self, mobile, password):
        user = {
            "account": mobile,
            "password": password,
            "client": 5
        }
        resp = requests.post(like_host + "/api/account/login", data=user)
        return resp